package com.yumis.service.model.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "yk_user_vip_card")
@Data
public class UserVipCard {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private Long userId;

    private Long vipCardId;

    private String cardNumber;

    private Date startDate;

    private Date endDate;

    private Long staffId;

    private Integer createTime;

    private Integer updateTime;

    private Byte state;

    private Integer balance;
}